package com.platform.apex.util;

import java.sql.ResultSet;
import java.sql.SQLException;
import java.util.Map;

import org.skife.jdbi.v2.StatementContext;
import org.skife.jdbi.v2.tweak.ResultSetMapper;


public class BaseTableInfoMapper implements
		ResultSetMapper<Map<String, Object>> {
	
	@Override
	public Map<String, Object> map(int index, ResultSet r, StatementContext ctx)
			throws SQLException {

		return MetaDataUtil.getMapByResultSetLabel(r);
	}
}
